package ru.gr.alphaversion;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

public class Temp extends Activity {
	public String value = null;
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
	    super.onCreate(savedInstanceState);
	    if (getIntent().getExtras().getString("ididid"+Integer.toString(Main.pushq))!=null)
	    	value = getIntent().getExtras().getString("ididid"+Integer.toString(Main.pushq));
	    else 
	    value = getIntent().getExtras().getString("ItemId");
	    if(value==null)
	    {
	    	value = getIntent().getExtras().getString("ItemName");
	    }
	    Intent intent = new Intent();
		intent.putExtra("ididid"+Integer.toString(Main.pushq), value);		  
		setResult(RESULT_OK, intent);
		finish();
	}
}